from django.utils.safestring import mark_safe from django import template
 
 register = template.Library()
 
 @register.filter()
 def unescaped(value):
     return mark_safe(value)